<template>
	<div class="homeB">
		<div class="top_title">
			<div></div>
			<div>当日商榷交付明细</div>
		</div>
		<div class="table_first">
			<div>
				<div class="th_first">浇筑位置</div>
				<div>强度</div>
				<div>计划量</div>
				<div>发抖量</div>
				<div>实际量</div>
				<div>计划进度</div>
			</div>
			<div v-for="(item, index) in 4" :key="index">
				<div class="th_first">12栋1单元</div>
				<div>c60</div>
				<div>20</div>
				<div>20</div>
				<div>20</div>
				<div class="line">
					<div class="text">90%</div>
					<div class="line_line">
						<div></div>
					</div>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
export default {
	data() {
		return {};
	},
	props: {
		num: {
			type: Number,
			default: 3
		}
	},
	methods: {}
};
</script>

<style lang="scss" scoped>
.homeB {
  padding: 0 $px_24 $px_24 $px_24;
}
.top_title {
  height: 56px;
  display: flex;
  align-items: center;
  font-weight: bold;

  > div:first-child {
    width: 4px;
    height: 14px;
    border-radius: 2px;
    background: $bg_color;
    margin-right: 5px;
  }
}
.table_first {
  font-size: 14px;

  .th_first {
    color: #7d7e80;
  }

  > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    width: 100%;
    height: 40px;

    > div:first-child {
      width: 80px;
    }

    > div {
      width: 50px;
      text-align: center;
    }

    > div:last-child {
      width: 80px;
    }
  }

  > div:first-child {
    height: 48px;
    font-weight: bold;
    background: #e4e7ed;
    border-radius: 4px;
  }

  .line {
    padding-left: 12px;
    text-align: left;

    .text {
      color: #ff003d;
    }

    .line_line {
      width: 60px;
      height: 4px;
      border-radius: 2px;
      background: #ffccd8;

      > div {
        height: 4px;
        border-radius: 2px;
        background: #ff003d;
      }
    }
  }
}
</style>
